#pragma once

#include <Windows.h>

namespace GPUCC
{
	namespace CPU
	{
		class Event
		{
		public:
			Event(bool IsSignaled = false, bool AutoReset = false);
			~Event();

			bool Set();
			bool Reset();
			bool Wait(unsigned int Timeout = INFINITE);

		private:
			HANDLE m_Event;
		};
	}
}